package com.bbzn.device.client.service;

import java.util.List;
import com.bbzn.device.client.dataobject.Announcement;
import com.bbzn.device.client.dto.announce.AnnouncementDTO;
import com.bbzn.device.client.dto.history.AlarmHisDTO;
import com.bbzn.device.client.utils.PageInfo;

public interface AnnouncementService{


    int deleteByPrimaryKey(Long id);

    int insert(Announcement record);

    int insertOrUpdate(Announcement record);

    int insertOrUpdateSelective(Announcement record);

    int insertSelective(Announcement record);

    Announcement selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Announcement record);

    int updateByPrimaryKey(Announcement record);

    List<Announcement> findByAll(Announcement announcement);

    int updateBatch(List<Announcement> list);

    int updateBatchSelective(List<Announcement> list);

    int batchInsert(List<Announcement> list);

    PageInfo<AnnouncementDTO> findPageByAll(AnnouncementDTO record);
}
